package cn.net.withub.dataCollector.web.model;

import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement
@XmlType(name="CASE",propOrder={"fzms","yskeyVals"})
public class XMLYsJhfz {

        private String fzms;
    private List<XMLYskeyVal> yskeyVals;

    public XMLYsJhfz() {
    }

    public XMLYsJhfz(String fzms, List<XMLYskeyVal> yskeyVals) {
        this.yskeyVals = yskeyVals;
        this.fzms = fzms;
    }

    @XmlElement(name = "YS")
    public List<XMLYskeyVal> getYskeyVals() {
        return yskeyVals;
    }

    public void setYskeyVals(List<XMLYskeyVal> yskeyVals) {
        this.yskeyVals = yskeyVals;
    }

    @XmlAttribute(name="NAME")
    public String getFzms() {
        return fzms;
    }

    public void setFzms(String fzms) {
        this.fzms = fzms;
    }

    @Override
    public String toString() {
        return "XMLYsJhfz{" +
                "yskeyVals=" + yskeyVals +
                ", fzms='" + fzms + '\'' +
                '}';
    }
}
